﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--------------------------------------------------------------------------->  
<!--                           INTRODUCTION                                

 The Code Project article submission template (HTML version)

Using this template will help us post your article sooner. To use, just 
follow the 3 easy steps below:
 
     1. Fill in the article description details
     2. Add links to your images and downloads
     3. Include the main article text

That's all there is to it! All formatting will be done by our submission
scripts and style sheets. 

-->  
<!--------------------------------------------------------------------------->  
<!--                        IGNORE THIS SECTION                            -->
<html>
<head>
<title>The Code Project</title>
<Style>
BODY, P, TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt }
H2,H3,H4,H5 { color: #ff9900; font-weight: bold; }
H2 { font-size: 13pt; }
H3 { font-size: 12pt; }
H4 { font-size: 10pt; color: black; }
PRE { BACKGROUND-COLOR: #FBEDBB; FONT-FAMILY: "Courier New", Courier, mono; WHITE-SPACE: pre; }
CODE { COLOR: #990000; FONT-FAMILY: "Courier New", Courier, mono; }
</style>
<link rel="stylesheet" type="text/css" href="http://www.codeproject.com/App_Themes/Std/CodeProject.css">
</head>
<body bgcolor="#FFFFFF" color=#000000>
<!--------------------------------------------------------------------------->  


<!-------------------------------     STEP 1      --------------------------->
<!--  Fill in the details (CodeProject will reformat this section for you) -->

<pre>
Title:       CSharp WebFinger
Author:      Sunil Pottumuttu
Email:       ironpython2001@gmail.com
Language:    C#
Platform:    Windows
Technology:  REST 
Level:       Intermediate
Description: CSharp WebFinger
Section      Enter the Code Project Section you Wish the Article to Appear
SubSection   Enter the Code Project SubSection you Wish the Article to Appear
License:     CPOL
</pre>

<!-------------------------------     STEP 2      --------------------------->
<!--  Include download and sample image information.                       --> 
<p><img src="csharpfinger.png" alt="CSharp WebFinger" width=400 height=200></p>
<!-------------------------------     STEP 3      --------------------------->

<!--  Add the article text. Please use simple formatting (<h2>, <p> etc)   -->

<h2>Introduction</h2>

<p>
WebFinger is a protocol specified by the IETF that allows for discovery of information about people and things identified by a URI.Information about a person might be discovered via an "acct:" URI, for example, which is a URI that looks like an email address. 
More Information can be found at 
<a href="http://webfinger.net/"">Webfinger.net</a> or 
<a href="http://webfinger.org/">WebFinger.org</a>
</p>
<p>WebFinger response will be returned in a JSON Resource Descriptor Document(JRD)</p>
<p>Example:</p>
<p>WebFinger URI: acct:eric@konklone.com</p>
<p>Content-Type : application/jrd+json</p>
<p>Response JRD : </p>
<p>
<pre>
{
  "subject": "acct:eric@konklone.com",
  "properties": {
    "http://schema.org/name": "Eric Mill"
  },
  "links": [
    {
      "rel": "http://webfinger.net/rel/profile-page",
      "href": "https://konklone.com"
    },
    {
      "rel": "http://webfinger.net/rel/avatar",
      "href": "https://secure.gravatar.com/avatar/ac3399caecce27cb19d381f61124539e.jpg?s=400"
    }
  ]
}
</pre>
</p>

<h2>Using the code</h2>

<p>Home Page for <a href="https://code.google.com/p/csharp-webfinger/">CSharp WebFinger</a> </p>
<p>Binaries are Available as Nuget Pages.</p>
<p>Download the source code from the Homepage.</p>
<p>The source code has the following structure</p>
<p>
	<img src="solutionstructure.png"/>
	<br>System.Net.WebFinger.dll Project is the main webfinger library.
</p>

<p>Blocks of code should be set as style &quot;Formatted&quot; like this: </p>

<pre>//
// Any source code blocks look like this
//
var i = 0;
...</pre>

<p>Remember to set the Language of your code snippet using the Language dropdown. </p>

<p>Use the &quot;var&quot; button to wrap Variable or class names in &amp;lt;code&amp;gt; tags like <code>this</code>. </p>

<h2>Points of Interest</h2>

<p>Did you learn anything interesting/fun/annoying while writing the code? Did you do anything particularly clever or wild or zany? </p>

<h2>History</h2>

<p>Keep a running update of any changes or improvements you've made here. </p>

<!-------------------------------    That's it!   --------------------------->
</body>

</html>

